package com.cleaningcloud.cld.mapper;

import java.util.List;
import com.cleaningcloud.cld.domain.CldRecruitPlanDetails;
import com.cleaningcloud.cld.domain.vo.CldRecruitPlanDetailsVo;

/**
 * 招聘计划明细Mapper接口
 * 
 * @author cleaningcloud
 * @date 2024-10-27
 */
public interface CldRecruitPlanDetailsMapper 
{
    /**
     * 查询招聘计划明细
     * 
     * @param recruitPlanDetailsId 招聘计划明细主键
     * @return 招聘计划明细
     */
    CldRecruitPlanDetails selectCldRecruitPlanDetailsByRecruitPlanDetailsId(Long recruitPlanDetailsId);

    /**
     * 查询招聘计划明细列表
     * 
     * @param cldRecruitPlanDetails 招聘计划明细
     * @return 招聘计划明细集合
     */
    List<CldRecruitPlanDetailsVo> selectCldRecruitPlanDetailsList(CldRecruitPlanDetails cldRecruitPlanDetails);

    /**
     * 新增招聘计划明细
     * 
     * @param cldRecruitPlanDetails 招聘计划明细
     * @return 结果
     */
    int insertCldRecruitPlanDetails(CldRecruitPlanDetails cldRecruitPlanDetails);

    /**
     * 修改招聘计划明细
     * 
     * @param cldRecruitPlanDetails 招聘计划明细
     * @return 结果
     */
    int updateCldRecruitPlanDetails(CldRecruitPlanDetails cldRecruitPlanDetails);

    /**
     * 删除招聘计划明细
     * 
     * @param recruitPlanDetailsId 招聘计划明细主键
     * @return 结果
     */
    int deleteCldRecruitPlanDetailsByRecruitPlanDetailsId(Long recruitPlanDetailsId);

    /**
     * 批量删除招聘计划明细
     * 
     * @param recruitPlanDetailsIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteCldRecruitPlanDetailsByRecruitPlanDetailsIds(Long[] recruitPlanDetailsIds);

    /**
     * 根据招聘计划查询
     * @param recruitPlanId
     * @return
     */
    List<CldRecruitPlanDetailsVo> selectCldRecruitPlanDetailsByRecruitPlanId(Long recruitPlanId);
}
